import { createApp } from "vue"
import router from "./router"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from "./App.vue"
/* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { fas } from '@fortawesome/free-solid-svg-icons'

// import VueCodeMirror from 'vue-codemirror'
// // import 'codemirror/lib/codemirror.css'
library.add(fas)


const app = createApp(App)

app.use(router)
app.use(ElementPlus)
// app.use(VueCodeMirror)
app.component('font-awesome-icon', FontAwesomeIcon)
app.mount("#app")


